package com.biz.primus.ms.member.dao.po;

import com.biz.primus.model.member.enums.AddressTypes;
import com.biz.primus.ms.base.jpa.po.BaseEntityPKIncrement;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.*;

/**
 * 会员收货地址标签
 *
 * @author jun.liu
 * @date 2017年10月22日
 * @reviewer
 * @see
 */
@Entity
@Table(name = "member_address_label")
@Data
@EqualsAndHashCode(callSuper = true)
public class MemberAddressLabel extends BaseEntityPKIncrement
{

    private static final long serialVersionUID = 2482304163125671942L;

    //标签名称
    @Column
    private String labelName;

    /**
     * 关联会员详情Member对象
     */
    @Column(name = "memberId")
    private Long memberId;

    /** 标签类型*/
    @Column
    private AddressTypes labelType;


}
